home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / python-twisted-names.postinst < prev    next >
Text File  |  2009-10-05  |  579b  |  25 lines

  1. #! /bin/sh
  2.  
  3. set -e
  4.  
  5. # Automatically added by dh_pycentral
  6. rm -f /var/lib/pycentral/python-twisted-names.pkgremove
  7. if which pycentral >/dev/null 2>&1; then
  8.     pycentral pkginstall python-twisted-names
  9.     if grep -qs '^python-twisted-names$' /var/lib/pycentral/delayed-pkgs; then
  10.         sed -i '/^python-twisted-names$/d' /var/lib/pycentral/delayed-pkgs
  11.     fi
  12. fi
  13. # End automatically added section
  14.  
  15.  
  16. case "$1" in
  17.     configure)
  18.     for p in $(pyversions -i); do
  19.         $p -c 'from twisted.plugin import IPlugin, getPlugins; list(getPlugins(IPlugin))' >/dev/null 2>&1 || true
  20.     done
  21.     ;;
  22. esac
  23.  
  24. exit 0
  25.